package jpa.config;

import jpa.repository.AddressRepository;
import jpa.repository.PersonRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * Created by barton on 16-4-29.
 */
@Component
public class CommandLineConfig implements CommandLineRunner {

    @Autowired
    private PersonRepository personRepository;

    @Autowired
    private AddressRepository addressRepository;

    @Override
    public void run(String... strings) throws Exception {

    }
}
